infors = [{"name": "aa", "age": 18}, {"name": "bb", "age": 28}]

for temp in infors:
    print(temp)

for temp in infors:
    print(temp["age"])

print("字典类型 %s" % type(infors))
print(type(infors))
type(infors)  # 无输出

infors_1 = [("name", "ywc"), ("age", 18)]
for temp in infors_1:
    print(temp)
    print(type(temp))  # 为元组

print(type(infors_1))  # 为列表
